package com.zhouke.certificate.exception;

import lombok.Getter;

/**
 * 自定义异常 主要在拦截token时使用
 */
@Getter
public class ServiceException extends RuntimeException {
    private String code;
    public ServiceException(String code,String msg){
        super(msg);
        this.code=code;
    }
}
